home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
bbs
/
pcsuni1.zip
/
PCBDE406.ZIP
/
PCBDE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1997-03-23
|
21KB
|
803 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
Boolean BOOLEAN003
Boolean BOOLEAN004
Boolean BOOLEAN005
Boolean BOOLEAN006
Boolean BOOLEAN007
Boolean BOOLEAN008
Boolean BOOLEAN009
Boolean BOOLEAN010
Boolean BOOLEAN011
Date DATE001
Date DATE002
Integer INTEGER001
Integer TINTEGER002(99)
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
Integer INTEGER008
Integer INTEGER009
Integer INTEGER010
Integer INTEGER011
Integer INTEGER012
Integer INTEGER013
Integer INTEGER014
Integer INTEGER015
Integer INTEGER016
Integer INTEGER017
Integer INTEGER018
Integer INTEGER019
Integer INTEGER020
Integer INTEGER021
Integer INTEGER022
Integer INTEGER023
Integer INTEGER024
Integer INTEGER025
Integer INTEGER026
Integer INTEGER027
Integer INTEGER028
Integer TINTEGER029(99)
String STRING001
String TSTRING002(3)
String STRING003
BigStr BIGSTR001
BigStr BIGSTR002
BigStr BIGSTR003
BigStr BIGSTR004
BigStr TBIGSTR005(1,200)
BigStr TBIGSTR006(3,200)
BigStr BIGSTR007
BigStr TBIGSTR008(200)
BigStr BIGSTR009
BigStr BIGSTR010
BigStr BIGSTR011
BigStr BIGSTR012
BigStr BIGSTR013
BigStr BIGSTR014
BigStr BIGSTR015
BigStr BIGSTR016
BigStr BIGSTR017
BigStr BIGSTR018
BigStr BIGSTR019
BigStr BIGSTR020
BigStr BIGSTR021
BigStr BIGSTR022
BigStr BIGSTR023
BigStr TBIGSTR024(9,200)
BigStr BIGSTR025
BigStr BIGSTR026
BigStr BIGSTR027
BigStr BIGSTR028
BigStr BIGSTR029
BigStr BIGSTR030
BigStr BIGSTR031
BigStr BIGSTR032
BigStr BIGSTR033
BigStr BIGSTR034
BigStr BIGSTR035
BigStr BIGSTR036
BigStr BIGSTR037
BigStr BIGSTR038
BigStr BIGSTR039
BigStr BIGSTR040
BigStr BIGSTR041
BigStr BIGSTR042
BigStr BIGSTR043
BigStr BIGSTR044
BigStr BIGSTR045
BigStr BIGSTR046
BigStr BIGSTR047
BigStr BIGSTR048
BigStr BIGSTR049
BigStr BIGSTR050
BigStr BIGSTR051
BigStr BIGSTR052
BigStr BIGSTR053
BigStr BIGSTR054
BigStr BIGSTR055
BigStr BIGSTR056
BigStr BIGSTR057
BigStr BIGSTR058
BigStr BIGSTR059
BigStr BIGSTR060
BigStr BIGSTR061
BigStr BIGSTR062
;------------------------------------------------------------------------------
:LABEL001
BIGSTR050 = ""
BIGSTR051 = ""
BIGSTR052 = ""
BIGSTR053 = ""
BIGSTR054 = ""
BIGSTR055 = ""
BIGSTR056 = ""
BIGSTR057 = ""
BIGSTR058 = ""
BIGSTR059 = ""
BIGSTR060 = ""
BIGSTR042 = Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(65) + Chr(32) + Chr(77) + Chr(111) + Chr(109) + Chr(101) + Chr(110) + Chr(116) + Chr(32) + Chr(111) + Chr(102) + Chr(32) + Chr(83) + Chr(105) + Chr(108) + Chr(101) + Chr(110) + Chr(99) + Chr(101) + Chr(32) + Chr(105) + Chr(110) + Chr(32) + Chr(82) + Chr(101) + Chr(99) + Chr(111) + Chr(103) + Chr(110) + Chr(105) + Chr(116) + Chr(105) + Chr(111) + Chr(110) + Chr(32) + Chr(111) + Chr(102) + Chr(32) + Chr(97) + Chr(108) + Chr(108) + Chr(32) + Chr(85) + Chr(110) + Chr(114) + Chr(101) + Chr(103) + Chr(105) + Chr(115) + Chr(116) + Chr(101) + Chr(114) + Chr(101) + Chr(100) + Chr(32) + Chr(83) + Chr(104) + Chr(97) + Chr(114) + Chr(101) + Chr(119) + Chr(97) + Chr(114) + Chr(101) + Chr(46) + Chr(46) + Chr(46) + Chr(46)
BIGSTR043 = Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(82) + Chr(101) + Chr(103) + Chr(105) + Chr(115) + Chr(116) + Chr(101) + Chr(114) + Chr(105) + Chr(110) + Chr(103) + Chr(32) + Chr(84) + Chr(104) + Chr(101) + Chr(32) + Chr(80) + Chr(67) + Chr(66) + Chr(32) + Chr(68) + Chr(111) + Chr(111) + Chr(114) + Chr(32) + Chr(69) + Chr(120) + Chr(101) + Chr(99) + Chr(117) + Chr(116) + Chr(105) + Chr(118) + Chr(101) + Chr(32) + Chr(82) + Chr(101) + Chr(109) + Chr(111) + Chr(118) + Chr(101) + Chr(115) + Chr(32) + Chr(84) + Chr(104) + Chr(105) + Chr(115) + Chr(32) + Chr(83) + Chr(99) + Chr(114) + Chr(101) + Chr(101) + Chr(110) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32) + Chr(32)
BIGSTR044 = ""
GetToken BIGSTR014
GetToken BIGSTR045
GetToken BIGSTR046
INTEGER009 = 1
INTEGER010 = 1
INTEGER012 = 1
INTEGER015 = 10
INTEGER021 = 0
BIGSTR013 = 0
INTEGER020 = 0
BIGSTR033 = ""
BOOLEAN001 = 1
BOOLEAN003 = 0
INTEGER018 = 0
BIGSTR018 = Chr(80) + Chr(67) + Chr(66) + Chr(68) + Chr(69) + Chr(46) + Chr(75) + Chr(69) + Chr(89)
BIGSTR038 = Chr(85) + Chr(78) + Chr(82) + Chr(69) + Chr(71) + Chr(73) + Chr(83) + Chr(84) + Chr(69) + Chr(82) + Chr(69) + Chr(68)
BIGSTR047 = Chr(48) + Chr(48) + Chr(48) + Chr(46) + Chr(76) + Chr(83) + Chr(84)
BOOLEAN004 = 0
BIGSTR021 = ""
BIGSTR022 = ""
BIGSTR030 = ""
BIGSTR031 = ""
BOOLEAN011 = 0
INTEGER017 = 1
BIGSTR010 = PcbNode()
INTEGER023 = 1
FDefIn 1
FOpen 1, PPEPath() + "PCBDE.CFG", 2, 2
:LABEL002
If (Ferr(1)) Goto LABEL003
FDGet BIGSTR011
INTEGER007 = INTEGER007 + 1
Goto LABEL002
:LABEL003
FClose 1
If (Exist(PPEPath() + "PCBDE.COL")) Then
FOpen 1, PPEPath() + "PCBDE.COL", 2, 0
FDGet BIGSTR050
FDGet BIGSTR051
FDGet BIGSTR052
FDGet BIGSTR053
FDGet BIGSTR054
FDGet BIGSTR055
FDGet BIGSTR056
FDGet BIGSTR057
FDGet BIGSTR058
FDGet BIGSTR059
FClose 1
BIGSTR050 = Left(BIGSTR050, 4)
BIGSTR051 = Left(BIGSTR051, 4)
BIGSTR052 = Left(BIGSTR052, 4)
BIGSTR053 = Left(BIGSTR053, 4)
BIGSTR054 = Left(BIGSTR054, 4)
BIGSTR055 = Left(BIGSTR055, 4)
BIGSTR056 = Left(BIGSTR056, 4)
BIGSTR057 = Left(BIGSTR057, 4)
BIGSTR058 = Left(BIGSTR058, 4)
BIGSTR059 = Left(BIGSTR059, 4)
BIGSTR060 = Left(Right(BIGSTR050, 2), 1)
INTEGER019 = BIGSTR060
INTEGER019 = INTEGER019 + 8
BIGSTR060 = INTEGER019
If (BIGSTR060 == 10) BIGSTR060 = "A"
If (BIGSTR060 == 11) BIGSTR060 = "B"
If (BIGSTR060 == 12) BIGSTR060 = "C"
If (BIGSTR060 == 13) BIGSTR060 = "D"
If (BIGSTR060 == 14) BIGSTR060 = "E"
If (BIGSTR060 == 15) BIGSTR060 = "F"
BIGSTR060 = "@X" + BIGSTR060 + "C"
BIGSTR049 = Left(Right(BIGSTR052, 2), 1)
STRING003 = Right(BIGSTR052, 1)
INTEGER008 = BIGSTR049
INTEGER008 = INTEGER008 + 8
If (INTEGER008 == 10) BIGSTR049 = "A"
If (INTEGER008 == 11) BIGSTR049 = "B"
If (INTEGER008 == 12) BIGSTR049 = "C"
If (INTEGER008 == 13) BIGSTR049 = "D"
If (INTEGER008 == 14) BIGSTR049 = "E"
If (INTEGER008 == 15) BIGSTR049 = "F"
BIGSTR048 = "@X" + BIGSTR049 + STRING003
Else
BIGSTR050 = "@X1F"
BIGSTR051 = "@X10"
BIGSTR052 = "@X1A"
BIGSTR053 = "@X1E"
BIGSTR054 = "@X17"
BIGSTR055 = "@X71"
BIGSTR056 = "@X7E"
BIGSTR057 = "@X74"
BIGSTR058 = "@X1B"
BIGSTR059 = "@X17"
BIGSTR060 = "@X1C"
Endif
If (Exist(PPEPath() + BIGSTR018)) Then
FOpen 1, PPEPath() + BIGSTR018, 2, 0
FDGet BIGSTR061
FDGet BIGSTR062
FDGet BIGSTR017
FClose 1
BIGSTR062 = BIGSTR062 + " "
BIGSTR062 = Left(BIGSTR062, 26)
Gosub LABEL020
Endif
If (Exist(PPEPath() + "UNIVERSL.KEY")) Goto LABEL025
If (Exist(PPEPath() + "UNI.KEY")) Goto LABEL026
:LABEL004
If (BIGSTR014 == "A") Goto LABEL010
If ((BIGSTR014 == "C") && Exist(PPEPath() + "PCBDE.CAT")) Goto LABEL009
If (BIGSTR014 <> "") Then
BIGSTR021 = BIGSTR014
INTEGER022 = BIGSTR014
If (INTEGER022 == 0) Then
FOpen 6, PPEPath() + "PCBDE.CFG", 0, 0
INTEGER013 = 1
BOOLEAN005 = 0
BOOLEAN006 = 0
BOOLEAN007 = 0
:LABEL005
If (BOOLEAN007) Goto LABEL008
FGet 6, BIGSTR023
If (LTrim(Right(BIGSTR023, 8), " ") == BIGSTR021) Then
BIGSTR021 = INTEGER013
If (Left(Right(BIGSTR023, 40), 1) == "L") TBIGSTR008(BIGSTR021) = "L"
If (Left(Right(BIGSTR023, 12), 1) == "!") Then
TBIGSTR006(2, BIGSTR021) = LTrim(Right(BIGSTR023, 8), " ")
TBIGSTR006(3, BIGSTR021) = RTrim(Left(Right(BIGSTR023, 38), 23), " ")
If (Left(Right(BIGSTR023, 40), 1) == "L") TBIGSTR008(BIGSTR021) = "L"
BOOLEAN007 = 1
BOOLEAN005 = 1
Else
BOOLEAN007 = 1
BOOLEAN006 = 1
Endif
Else
If (Ferr(6)) Goto LABEL006
If (INTEGER013 > 200) BOOLEAN007 = 1
INTEGER013 = INTEGER013 + 1
Goto LABEL007
:LABEL006
BOOLEAN007 = 1
BOOLEAN008 = 1
Endif
:LABEL007
Goto LABEL005
:LABEL008
FClose 6
If (BOOLEAN005) Then
BOOLEAN009 = 1
Goto LABEL015
ElseIf (BOOLEAN006) Then
BOOLEAN010 = 1
Goto LABEL015
Else
PrintLn
PrintLn "@X0C(@X8F", BIGSTR021, "@X0C) Is not a valid Door Selection"
Endif
Goto LABEL001
Else
FOpen 6, PPEPath() + "PCBDE.CFG", 0, 0
For INTEGER011 = 1 To BIGSTR021
FGet 6, BIGSTR023
Next
FClose 6
If (Left(Right(BIGSTR023, 40), 1) == "L") TBIGSTR008(BIGSTR021) = "L"
If (Left(Right(BIGSTR023, 12), 1) == "!") Then
TBIGSTR006(2, BIGSTR021) = LTrim(Right(BIGSTR023, 8), " ")
TBIGSTR006(3, BIGSTR021) = RTrim(Left(Right(BIGSTR023, 38), 23), " ")
BOOLEAN009 = 1
Goto LABEL015
Else
BOOLEAN010 = 1
Else
Endif
Endif
If (Exist(PPEPath() + "PCBDE.CAT")) Then
InputStr "@X0FDisplay (@X0AA@X0F)ll Doors or by (@X0BC@X0F)atagory @X0A<ENTER>@X0F=ALL", BIGSTR022, 14, 1, "acAC", 2 + 4 + 8 + 128 + 32
If (BIGSTR022 == "C") Then
:LABEL009
BOOLEAN004 = 1
FOpen 5, PPEPath() + "PCBDE.CAT", 2, 0
FGet 5, BIGSTR025
FGet 5, BIGSTR026
FGet 5, BIGSTR027
FGet 5, BIGSTR028
FGet 5, BIGSTR029
FGet 5, BIGSTR034
FGet 5, BIGSTR035
FGet 5, BIGSTR036
FGet 5, BIGSTR037
FClose 5
PrintLn
PrintLn
PrintLn "@X0FThe Following Catagories are available"
PrintLn "@X0F──────────────────────────────────────"
PrintLn " "
If (BIGSTR025 <> "") PrintLn "@X0F1 - @X0A", BIGSTR025
If (BIGSTR026 <> "") PrintLn "@X0F2 - @X0B", BIGSTR026
If (BIGSTR027 <> "") PrintLn "@X0F3 - @X0C", BIGSTR027
If (BIGSTR028 <> "") PrintLn "@X0F4 - @X0D", BIGSTR028
If (BIGSTR029 <> "") PrintLn "@X0F5 - @X0E", BIGSTR029
If (BIGSTR034 <> "") PrintLn "@X0F6 - @X0F", BIGSTR034
If (BIGSTR035 <> "") PrintLn "@X0F7 - @X0A", BIGSTR035
If (BIGSTR036 <> "") PrintLn "@X0F8 - @X0B", BIGSTR036
If (BIGSTR037 <> "") PrintLn "@X0F9 - @X0C", BIGSTR037
InputStr "@X0FChoose Catagory to display @X0A<ENTER>@X0F=ALL Catagories", BIGSTR033, 14, 1, Mask_Num(), 2 + 4 + 8 + 128 + 32
If (BIGSTR033 == "") BOOLEAN004 = 0
Else
Goto LABEL010
Endif
Else
BOOLEAN004 = 0
Endif
:LABEL010
If (BOOLEAN003) Then
If (Exist(PPEPath() + "PCBDE.HDR")) Then
DispFile PPEPath() + "PCBDE.HDR", 0
Else
PrintLn "@POFF@@CLS@", BIGSTR050, "┌ ", BIGSTR050, "P", BIGSTR050, "C", BIGSTR050, "B", BIGSTR050, " Door Executive v4.06", BIGSTR050, " Registered To ", BIGSTR058, BIGSTR062, BIGSTR050, "─", BIGSTR051, "┐@X07"
PrintLn BIGSTR050, "│", BIGSTR051, "┌───", BIGSTR050, "┐", BIGSTR051, "┌─────────────────────────────────────────", BIGSTR050, "┐", BIGSTR051, "┌────────", BIGSTR050, "┐", BIGSTR051, "┌────────", BIGSTR050, "┐", BIGSTR051, "┌───────", BIGSTR050, "┐", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "│", BIGSTR051, "│", BIGSTR052, "###", BIGSTR050, "│", BIGSTR051, "│", BIGSTR053, " Door Name/Description ", BIGSTR050, "│", BIGSTR051, "│", BIGSTR053, "Shrt Cut", BIGSTR050, "│", BIGSTR051, "│", BIGSTR053, "Last Opn", BIGSTR050, "│", BIGSTR051, "│", BIGSTR053, "# Times", BIGSTR050, "│", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "│", BIGSTR051, "└", BIGSTR050, "───┘", BIGSTR051, "└", BIGSTR050, "─────────────────────────────────────────┘", BIGSTR051, "└", BIGSTR050, "────────┘", BIGSTR051, "└", BIGSTR050, "────────┘", BIGSTR051, "└", BIGSTR050, "───────┘", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "│", BIGSTR051, "┌───", BIGSTR050, "┐", BIGSTR051, "┌─────────────────────────────────────────", BIGSTR050, "┐", BIGSTR051, "┌────────", BIGSTR050, "┐", BIGSTR051, "┌────────", BIGSTR050, "┐", BIGSTR051, "┌───────", BIGSTR050, "┐", BIGSTR051, "│@X07"
Endif
Else
PrintLn "@POFF@@CLS@", BIGSTR050, "┌─────── ", BIGSTR050, "P", BIGSTR050, "C", BIGSTR050, "B", BIGSTR050, " Door Executive v4.06 ──────────────", BIGSTR060, "»» ", BIGSTR038, " ««", BIGSTR050, "─────", BIGSTR051, "┐@X07"
PrintLn BIGSTR050, "│", BIGSTR051, "┌───", BIGSTR050, "┐", BIGSTR051, "┌─────────────────────────────────────────", BIGSTR050, "┐", BIGSTR051, "┌────────", BIGSTR050, "┐", BIGSTR051, "┌────────", BIGSTR050, "┐", BIGSTR051, "┌───────", BIGSTR050, "┐", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "│", BIGSTR051, "│", BIGSTR052, "###", BIGSTR050, "│", BIGSTR051, "│", BIGSTR053, " Door Name/Description ", BIGSTR050, "│", BIGSTR051, "│", BIGSTR053, "Shrt Cut", BIGSTR050, "│", BIGSTR051, "│", BIGSTR053, "Last Opn", BIGSTR050, "│", BIGSTR051, "│", BIGSTR053, "# Times", BIGSTR050, "│", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "│", BIGSTR051, "└", BIGSTR050, "───┘", BIGSTR051, "└", BIGSTR050, "─────────────────────────────────────────┘", BIGSTR051, "└", BIGSTR050, "────────┘", BIGSTR051, "└", BIGSTR050, "────────┘", BIGSTR051, "└", BIGSTR050, "───────┘", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "│", BIGSTR051, "┌───", BIGSTR050, "┐", BIGSTR051, "┌─────────────────────────────────────────", BIGSTR050, "┐", BIGSTR051, "┌────────", BIGSTR050, "┐", BIGSTR051, "┌────────", BIGSTR050, "┐", BIGSTR051, "┌───────", BIGSTR050, "┐", BIGSTR051, "│@X07"
Endif
FOpen 1, PPEPath() + "PCBDE.CFG", 0, 0
:LABEL011
If (Ferr(1)) Goto LABEL012
FDGet TBIGSTR005(1, INTEGER009)
If (Left(Right(TBIGSTR005(1, INTEGER009), 42), 1) == "R") Then
BIGSTR012 = "*"
Else
BIGSTR012 = " "
Endif
If (Left(Right(TBIGSTR005(1, INTEGER009), 40), 1) == "L") TBIGSTR008(INTEGER009) = "L"
If (BOOLEAN004) Then
BIGSTR032 = Left(Right(TBIGSTR005(1, INTEGER009), 14), 1)
If (BIGSTR032 == BIGSTR033) Then
TBIGSTR024(BIGSTR032, INTEGER009) = TBIGSTR005(1, INTEGER009)
Endif
Endif
BIGSTR016 = INTEGER009
BIGSTR015 = "00000" + BIGSTR016
BIGSTR016 = "00000" + BIGSTR016
BIGSTR016 = Right(BIGSTR016, 3)
If (Exist(PPEPath() + "DATA\" + BIGSTR016 + ".LST")) Then
FOpen 7, PPEPath() + "DATA\" + BIGSTR016 + ".LST", 2, 0
FGet 7, BIGSTR039
BIGSTR019 = Left(BIGSTR039, 8)
BIGSTR020 = Right(BIGSTR039, 5)
FClose 7
Else
BIGSTR019 = "00-00-00"
BIGSTR020 = "00000"
Endif
If (Left(Right(TBIGSTR005(1, INTEGER009), 12), 1) == "!") Then
TBIGSTR006(1, INTEGER009) = "True"
TBIGSTR006(2, INTEGER009) = LTrim(Right(TBIGSTR005(1, INTEGER009), 8), " ")
TBIGSTR006(3, INTEGER009) = RTrim(Left(Right(TBIGSTR005(1, INTEGER009), 38), 23), " ")
Endif
If (BOOLEAN004) Then
If (BIGSTR032 == BIGSTR033) Then
INTEGER020 = INTEGER020 + 1
Gosub LABEL016
Endif
Else
Gosub LABEL016
Endif
INTEGER009 = INTEGER009 + 1
If (BOOLEAN004) Then
If (INTEGER020 == 15) Gosub LABEL013
Else
BIGSTR013 = BIGSTR013 + 1
If (BIGSTR013 == 15) Gosub LABEL013
Endif
Goto LABEL011
:LABEL012
BOOLEAN002 = 1
If ((BOOLEAN002 == 1) && (INTEGER021 == 0)) Then
PrintLn BIGSTR050, "│", BIGSTR051, "└", BIGSTR050, "───┘", BIGSTR051, "└", BIGSTR050, "─────────────────────────────────────────┘", BIGSTR051, "└", BIGSTR050, "────────┘", BIGSTR051, "└", BIGSTR050, "────────┘", BIGSTR051, "└", BIGSTR050, "───────┘", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "└", BIGSTR051, "─────────────────────────────────────────────────────────────────────────────┘@X07"
Endif
Goto LABEL014
:LABEL013
If (BOOLEAN001 == 1) Then
PrintLn BIGSTR050, "│", BIGSTR051, "└", BIGSTR050, "───┘", BIGSTR051, "└", BIGSTR050, "─────────────────────────────────────────┘", BIGSTR051, "└", BIGSTR050, "────────┘", BIGSTR051, "└", BIGSTR050, "────────┘", BIGSTR051, "└", BIGSTR050, "───────┘", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "└", BIGSTR051, "─────────────────────────────────────────────────────────────────────────────┘@X07"
BOOLEAN001 = 0
Else
PrintLn "1H"
Endif
INTEGER021 = INTEGER021 + 1
:LABEL014
If (BOOLEAN002 == 1) PrintLn "1H"
InputStr "@X0FDoor # @X0A<ENTER>@X0F For more (@X0ED@X0F)efinitions (@X0CQ@X0F)uit", BIGSTR021, 14, 3, Mask_Num() + "QAD", 2 + 4 + 8 + 256
Select Case (BIGSTR021)
Case "Q"
Goto LABEL024
Case "A"
Goto LABEL017
Case "D"
Goto LABEL018
Case "True"
BOOLEAN009 = 1
Goto LABEL015
Case ""
BOOLEAN010 = 1
Goto LABEL015
End Select
If (BOOLEAN002 == 1) Goto LABEL024
BIGSTR013 = 0
INTEGER020 = 0
PrintLn "H"
INTEGER016 = 1
For INTEGER016 = 1 To 15
PrintLn BIGSTR050, "│", BIGSTR051, "│ ", BIGSTR050, "│", BIGSTR051, "│", BIGSTR050, " @POS:48@│", BIGSTR051, "│", BIGSTR058, " @POS:59@", BIGSTR050, "│@POS:60@", BIGSTR051, "│", BIGSTR059, " @POS:69@", BIGSTR050, "│@POS:70@", BIGSTR051, "│", BIGSTR059, " @POS:78@", BIGSTR050, "│@POS:79@", BIGSTR051, "│@X07"
Next
PrintLn "H"
Return
Endif
:LABEL015
BIGSTR021 = "000" + BIGSTR021
BIGSTR021 = Right(BIGSTR021, 3)
If (Exist(PPEPath() + "DATA\" + BIGSTR021 + ".LST")) Then
FOpen 4, PPEPath() + "DATA\" + BIGSTR021 + ".LST", 2, 0
FGet 4, BIGSTR039
BIGSTR019 = Left(BIGSTR039, 8)
BIGSTR020 = Right(BIGSTR039, 5)
FClose 4
Else
BIGSTR019 = "00-00-00"
BIGSTR020 = "00000"
Endif
INTEGER018 = BIGSTR020
INTEGER018 = INTEGER018 + 1
BIGSTR020 = INTEGER018
BIGSTR041 = Date()
BIGSTR040 = BIGSTR041 + "00000" + BIGSTR020
BIGSTR021 = "000" + BIGSTR021
BIGSTR021 = Right(BIGSTR021, 3)
FCreate 4, PPEPath() + "DATA\" + BIGSTR021 + ".LST", 2, 0
FPutLn 4, BIGSTR040
FClose 4
If (TBIGSTR008(BIGSTR021) == "L") Then
INTEGER017 = 1
For INTEGER017 = 1 To MaxNode()
BIGSTR009 = INTEGER017
If (Exist(PPEPath() + "DATA\" + BIGSTR021 + "." + BIGSTR009)) Then
If (INTEGER017 <> PcbNode()) Then
PrintLn
PrintLn "@X0CDoor requested is locked"
PrintLn
Wait
Goto LABEL024
Endif
Continue
Endif
Next
PrintLn
PrintLn "Locking Out Other Nodes"
PrintLn
FCreate 5, PPEPath() + "DATA\" + BIGSTR021 + "." + String(PcbNode()), 2, 0
FPutLn 5, "PCBDE lock file for node " + String(PcbNode()) + " door " + BIGSTR021
FPutLn 5, "Delete me if no one is on the above listed node"
FClose 5
Endif
If (!BOOLEAN003) Gosub LABEL019
If (BOOLEAN009) Then
Gosub LABEL021
Call TBIGSTR006(3, BIGSTR021) + TBIGSTR006(2, BIGSTR021) + ".PPE" + " " + BIGSTR045 + " " + BIGSTR046
ElseIf (BOOLEAN010) Then
KbdStuff "Open " + BIGSTR021 + " " + BIGSTR045 + " " + BIGSTR046
Else
PrintLn "Error #2345 - Boolean Flag not set - Call Tech Support!"
Endif
Goto LABEL024
:LABEL016
Select Case (Left(Right(TBIGSTR005(1, INTEGER009), 10), 1))
Case "*"
PrintLn BIGSTR050, "│", BIGSTR051, "│", BIGSTR052, Right(BIGSTR015, 3), "@POS:6@", BIGSTR050, "│", BIGSTR051, "│", BIGSTR055, Left(TBIGSTR005(1, INTEGER009), 41), "@POS:48@", BIGSTR050, "│", BIGSTR051, "│", BIGSTR058, LTrim(Right(TBIGSTR005(1, INTEGER009), 8), " "), "@POS:59@", BIGSTR050, "│@POS:60@", BIGSTR051, "│", BIGSTR059, BIGSTR019, "@POS:69@", BIGSTR050, "│@POS:70@", BIGSTR051, "│", BIGSTR054, " ", BIGSTR020, BIGSTR048, BIGSTR012, BIGSTR059, "@POS:78@", BIGSTR050, "│@POS:79@", BIGSTR051, "│@X07"
Case "&"
PrintLn BIGSTR050, "│", BIGSTR051, "│", BIGSTR052, Right(BIGSTR015, 3), "@POS:6@", BIGSTR050, "│", BIGSTR051, "│", BIGSTR056, Left(TBIGSTR005(1, INTEGER009), 41), "@POS:48@", BIGSTR050, "│", BIGSTR051, "│", BIGSTR058, LTrim(Right(TBIGSTR005(1, INTEGER009), 8), " "), "@POS:59@", BIGSTR050, "│@POS:60@", BIGSTR051, "│", BIGSTR059, BIGSTR019, "@POS:69@", BIGSTR050, "│@POS:70@", BIGSTR051, "│", BIGSTR054, " ", BIGSTR020, BIGSTR048, BIGSTR012, BIGSTR059, "@POS:78@", BIGSTR050, "│@POS:79@", BIGSTR051, "│@X07"
Case "^"
PrintLn BIGSTR050, "│", BIGSTR051, "│", BIGSTR052, Right(BIGSTR015, 3), "@POS:6@", BIGSTR050, "│", BIGSTR051, "│", BIGSTR057, Left(TBIGSTR005(1, INTEGER009), 41), "@POS:48@", BIGSTR050, "│", BIGSTR051, "│", BIGSTR058, LTrim(Right(TBIGSTR005(1, INTEGER009), 8), " "), "@POS:59@", BIGSTR050, "│@POS:60@", BIGSTR051, "│", BIGSTR059, BIGSTR019, "@POS:69@", BIGSTR050, "│@POS:70@", BIGSTR051, "│", BIGSTR054, " ", BIGSTR020, BIGSTR048, BIGSTR012, BIGSTR059, "@POS:78@", BIGSTR050, "│@POS:79@", BIGSTR051, "│@X07"
Case Else
PrintLn BIGSTR050, "│", BIGSTR051, "│", BIGSTR052, Right(BIGSTR015, 3), "@POS:6@", BIGSTR050, "│", BIGSTR051, "│", BIGSTR050, Left(TBIGSTR005(1, INTEGER009), 41), "@POS:48@│", BIGSTR051, "│", BIGSTR058, LTrim(Right(TBIGSTR005(1, INTEGER009), 8), " "), "@POS:59@", BIGSTR050, "│@POS:60@", BIGSTR051, "│", BIGSTR059, BIGSTR019, "@POS:69@", BIGSTR050, "│@POS:70@", BIGSTR051, "│", BIGSTR054, " ", BIGSTR020, BIGSTR048, BIGSTR012, BIGSTR059, "@POS:78@", BIGSTR050, "│@POS:79@", BIGSTR051, "│@X07"
End Select
Return
:LABEL017
Cls
Newlines 4
PrintLn "@POS:27@@X10┌───────────────────────────@X19┐@X0F"
PrintLn "@POS:27@@X10│ @X1APCBDE@X9E·@X1APCB Door Executive@X1E @X1A @X19│@X0F"
PrintLn "@POS:27@@X10│ @X1D▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀@X1E @X1D @X19│@X0F"
PrintLn "@POS:27@@X10│ @X1Cv4.06@X10 @X1C @X1E @X1C @X19│@X0F"
PrintLn "@POS:27@@X10│@X1EPractical Computer Services@X19│@X0F"
PrintLn "@POS:27@@X10│ @X1E483 Klockner Road@X1B @X1E @X1B @X19│@X0F"
PrintLn "@POS:27@@X10│ @X1EHamilton, NJ 08619@X1B @X1E @X1B @X19│@X0F"
PrintLn "@POS:27@@X10└@X19───────────────────────────┘@X0F"
Delay (4 * 182) / 10
Goto LABEL001
:LABEL018
DispFile PPEPath() + "PCBDE.DEF", 4 + 2 + 1
Print " "
Wait
Goto LABEL001
:LABEL019
If (Exist(PPEPath() + "DATA\" + BIGSTR047)) Then
FOpen 5, PPEPath() + "DATA\" + +BIGSTR047, 2, 0
FGet 5, DATE001
FClose 5
DATE002 = Date()
INTEGER006 = DATE002
INTEGER005 = DATE001
If (INTEGER005 + 30 <= INTEGER006) Then
INTEGER015 = 20
PrintLn "@CLS@@X0E PCBDE has now been running for more than 30 days"
PrintLn
PrintLn "@X0B ┌────────────────────────────────────────┐"
PrintLn "@X0B │ PCBDE 30 Day Shareware License Expired │"
PrintLn "@X0B └────────────────────────────────────────┘"
PrintLn
PrintLn "@X0C Please Encourage your SysOp to register this software"
PrintLn
PrintLn
Log " ", 0
Log "*****************************************************", 0
Log "* *", 0
Log "* PCBDE has now been running for more than 30 days *", 0
Log "* *", 0
Log "* └────────────────────────────────────────┘ *", 0
Log "* │ PCBDE 30 Day Shareware License Expired │ *", 0
Log "* ┌────────────────────────────────────────┐ *", 0
Log "* *", 0
Log "* You should register PCBDE or Stop running it *", 0
Log "* *", 0
Log "*****************************************************", 0
Log " ", 0
Wait
Endif
Else
FCreate 4, PPEPath() + "DATA\" + BIGSTR047, 2, 0
FPutLn 4, Date()
FClose 4
Endif
PrintLn "@BEEP@@POFF@@CLS@", BIGSTR050, "┌─────── PCB Door Executive Ver. 4.06 ────────────", BIGSTR060, "»» ", BIGSTR038, " ««", BIGSTR050, "───────", BIGSTR051, "┐@X07"
PrintLn BIGSTR050, "│ ", BIGSTR051, " │@X07"
PrintLn BIGSTR050, "│ ", BIGSTR053, BIGSTR042, " @X07@X00", BIGSTR051, "│@X07"
PrintLn BIGSTR050, "│ ", BIGSTR051, " │@X07"
PrintLn BIGSTR050, "│ ", BIGSTR052, BIGSTR043, BIGSTR051, "│@X07"
PrintLn BIGSTR050, "│ ", BIGSTR051, " │@X07"
PrintLn BIGSTR050, "│ Please Encourage your SysOp to Register ", BIGSTR050, "P", BIGSTR050, "C", BIGSTR050, "B ", BIGSTR050, "Door Executive", BIGSTR051, " │@X07"
PrintLn BIGSTR050, "└", BIGSTR051, "─────────────────────────────────────────────────────────────────────────────┘@X07"
PrintLn
If (OnLocal()) Then
INTEGER014 = 1
For INTEGER014 = 1 To 10
Print "@X0C", INTEGER014, "@X0F. "
BIGSTR007 = 1 * (182 / 10)
Delay BIGSTR007
Next
Else
INTEGER014 = 1
For INTEGER014 = 1 To INTEGER015
Print "@X0C", INTEGER014, "@X0F. "
BIGSTR007 = 1 * (182 / 10)
Delay BIGSTR007
Next
Endif
Return
:LABEL020
BIGSTR001 = BIGSTR061 + BIGSTR062
BIGSTR001 = Strip(BIGSTR001, " ")
For INTEGER001 = 1 To Len(BIGSTR001)
TINTEGER002(INTEGER001) = Asc(Mid(BIGSTR001, INTEGER001, 1))
Next
INTEGER003 = 0
For INTEGER001 = 1 To 80
INTEGER003 = INTEGER003 + TINTEGER002(INTEGER001)
Next
INTEGER004 = INTEGER003 * 1269
If (INTEGER004 == BIGSTR017) Then
BOOLEAN003 = 1
Endif
Return
:LABEL021
FOpen 6, PPEPath() + "LONGPATH.DAT", 0, 0
:LABEL022
If (Ferr(6)) Goto LABEL023
FGet 6, BIGSTR004
Tokenize BIGSTR004
GetToken BIGSTR003
GetToken BIGSTR002
If (S2I(BIGSTR003, 10) == S2I(BIGSTR021, 10)) Then
TBIGSTR006(3, BIGSTR021) = BIGSTR002
Return
Endif
Goto LABEL022
:LABEL023
Return
:LABEL024
If (!BOOLEAN003) Gosub LABEL019
PrintLn "@PON@"
KbdStuff Chr(13)
End
:LABEL025
FOpen 1, PPEPath() + "UNIVERSL.KEY", 0, 0
FDefIn 1
For INTEGER027 = 1 To 3
FDGet TSTRING002(INTEGER027)
Next
FClose 1
STRING001 = TSTRING002(1) + TSTRING002(2)
STRING001 = Strip(STRING001, " ")
For INTEGER028 = 1 To Len(STRING001)
TINTEGER029(INTEGER028) = Asc(Mid(STRING001, INTEGER028, 1))
Next
INTEGER025 = 0
For INTEGER028 = 1 To 99
INTEGER025 = INTEGER025 + TINTEGER029(INTEGER028)
Next
INTEGER026 = INTEGER025 * 659
INTEGER024 = INTEGER026
BOOLEAN003 = 0
If (INTEGER026 <> TSTRING002(3)) Then
BOOLEAN003 = 0
Else
BOOLEAN003 = 1
BIGSTR061 = TSTRING002(1)
BIGSTR062 = TSTRING002(2)
BIGSTR062 = BIGSTR062 + " "
BIGSTR062 = Left(BIGSTR062, 26)
Endif
Goto LABEL004
:LABEL026
FOpen 1, PPEPath() + "UNI.KEY", 0, 0
FDefIn 1
For INTEGER027 = 1 To 3
FDGet TSTRING002(INTEGER027)
Next
FClose 1
STRING001 = TSTRING002(1) + TSTRING002(2)
STRING001 = Strip(STRING001, " ")
For INTEGER028 = 1 To Len(STRING001)
TINTEGER029(INTEGER028) = Asc(Mid(STRING001, INTEGER028, 1))
Next
INTEGER025 = 0
For INTEGER028 = 1 To 99
INTEGER025 = INTEGER025 + TINTEGER029(INTEGER028)
Next
INTEGER026 = INTEGER025 * 659
INTEGER024 = INTEGER026
BOOLEAN003 = 0
If (INTEGER026 <> TSTRING002(3)) Then
BOOLEAN003 = 0
Else
BOOLEAN003 = 1
BIGSTR061 = TSTRING002(1)
BIGSTR062 = TSTRING002(2)
BIGSTR062 = BIGSTR062 + " "
BIGSTR062 = Left(BIGSTR062, 26)
Endif
Goto LABEL004
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 Cls
; 3 Wait
; 134 Goto
; 224 Let
; 3 Print
; 73 PrintLn
; 99 If
; 2 DispFile
; 3 FCreate
; 13 FOpen
; 14 FClose
; 15 FGet
; 4 FPutLn
; 13 Log
; 3 InputStr
; 8 Gosub
; 6 Return
; 3 Delay
; 1 Newlines
; 1 Tokenize
; 5 GetToken
; 2 KbdStuff
; 1 Call
; 3 FDefIn
; 17 FDGet
;
;
; ■ Functions used :
;
; 1 +
; 6 *
; 3 /
; 289 +
; 45 ==
; 14 <>
; 13 <
; 14 <=
; 1 >
; 26 >=
; 64 !
; 28 &&
; 13 ||
; 6 Len(
; 3 Mid()
; 36 Left()
; 35 Right()
; 4 Ferr()
; 177 Chr()
; 3 Asc()
; 8 LTrim()
; 3 RTrim()
; 3 Date()
; 3 Strip()
; 2 String()
; 2 Mask_Num()
; 29 PPEPath()
; 4 PcbNode()
; 1 OnLocal()
; 11 Exist()
; 2 S2I()
; 2 MaxNode()
;
;------------------------------------------------------------------------------
;
; Analysis flags : C
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 13 For/Next
; 0 While/EndWhile
; 36 If/Then or If/Then/Else
; 2 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------